from sqlalchemy import Column, Integer, String, JSON, TIMESTAMP
from app import db

class Log(db.Model):
    __tablename__ = 'graphql'
    id = Column(Integer, primary_key=True)
    url = Column(JSON)
    ua = Column(String())
    c_time = Column(TIMESTAMP)
    guest = Column(JSON)